package com.ruoyi.fileMaintenance.domain;

import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 学习资料对象 t_learning_materials
 *
 * @author ruoyi
 * @date 2024-03-27
 */
public class TLearningMaterials extends BaseEntity {
    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty("课程Id")
    @Excel(name = "课程Id")
    private Long courseId;

    @ApiModelProperty("课程名称")
    @Excel(name = "课程名称")
    private String courseName;

    @ApiModelProperty("词性")
    @Excel(name = "词性")
    private String partOfSpeech;

    @ApiModelProperty("中文")
    @Excel(name = "中文")
    private String chinese;

    @ApiModelProperty("英文")
    @Excel(name = "英文")
    private String english;

    @ApiModelProperty("音标")
    @Excel(name = "音标")
    private String phoneticSymbol;

    @ApiModelProperty("发音")
    @Excel(name = "发音")
    private String pronounce;

    @ApiModelProperty("例句-英")
    @Excel(name = "例句-英")
    private String exampleSentenceHero;

    @ApiModelProperty("例句-中")
    @Excel(name = "例句-中")
    private String exampleSentenceMiddle;

    @ApiModelProperty("词性list")
    private List<TChineseMeaning> partOfSpeechSelectList;

    /*选项列表 */
    @ApiModelProperty("选项列表")
    private List<TLearningMaterials> optionsList;

    /*语音文件路径 */
    @ApiModelProperty("语音文件路径")
    private String voiceFilesPath;


    /**
     * 主键
     */
    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 课程
     */
    public Long getCourseId() {
        return courseId;
    }

    public void setCourseId(Long courseId) {
        this.courseId = courseId;
    }

    /**
     * 课程
     */
    public String getCourseName() {
        return courseName;
    }

    public void setCourseName(String courseName) {
        this.courseName = courseName;
    }

    public String getPartOfSpeech() {
        return partOfSpeech;
    }

    public void setPartOfSpeech(String partOfSpeech) {
        this.partOfSpeech = partOfSpeech;
    }

    /**
     * 中文
     */
    public String getChinese() {
        return chinese;
    }

    public void setChinese(String chinese) {
        this.chinese = chinese;
    }

    /**
     * 英文
     */
    public String getEnglish() {
        return english;
    }

    public void setEnglish(String english) {
        this.english = english;
    }

    /**
     * 音标
     */
    public String getPhoneticSymbol() {
        return phoneticSymbol;
    }

    public void setPhoneticSymbol(String phoneticSymbol) {
        this.phoneticSymbol = phoneticSymbol;
    }

    /**
     * 发音
     */
    public String getPronounce() {
        return pronounce;
    }

    public void setPronounce(String pronounce) {
        this.pronounce = pronounce;
    }

    /**
     * 例句-英
     */
    public String getExampleSentenceHero() {
        return exampleSentenceHero;
    }

    public void setExampleSentenceHero(String exampleSentenceHero) {
        this.exampleSentenceHero = exampleSentenceHero;
    }

    /**
     * 例句-中
     */
    public String getExampleSentenceMiddle() {
        return exampleSentenceMiddle;
    }

    public void setExampleSentenceMiddle(String exampleSentenceMiddle) {
        this.exampleSentenceMiddle = exampleSentenceMiddle;
    }

    public List<TChineseMeaning> getPartOfSpeechSelectList() {
        return partOfSpeechSelectList;
    }

    public void setPartOfSpeechSelectList(List<TChineseMeaning> partOfSpeechSelectList) {
        this.partOfSpeechSelectList = partOfSpeechSelectList;
    }

    public List<TLearningMaterials> getOptionsList() {
        return optionsList;
    }

    public void setOptionsList(List<TLearningMaterials> optionsList) {
        this.optionsList = optionsList;
    }

    public String getVoiceFilesPath() {
        return voiceFilesPath;
    }

    public void setVoiceFilesPath(String voiceFilesPath) {
        this.voiceFilesPath = voiceFilesPath;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("courseId", getCourseId())
                .append("courseName", getCourseName())
                .append("chinese", getChinese())
                .append("partOfSpeech", getPartOfSpeech())
                .append("english", getEnglish())
                .append("phoneticSymbol", getPhoneticSymbol())
                .append("pronounce", getPronounce())
                .append("exampleSentenceHero", getExampleSentenceHero())
                .append("exampleSentenceMiddle", getExampleSentenceMiddle())
                .append("voiceFilesPath", getVoiceFilesPath())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
